package com.example.locationtracking.configure;

public class ServiceConfigure {
	//private String hostName = "http://137.92.33.150:8733/";
	private String hostName = "http://192.168.1.68:8733/";
	private String serviceName = "localtrackingService";
	private String serviceURL = hostName+serviceName;
	private String register = serviceURL+ "/register";
	private String login = serviceURL+ "/validate/%s/%s";
	private String loginByPassword = serviceURL+"/validatepassword/%s/%s";
	private String getUserList = serviceURL+"/getusers";
	private String addLocation = serviceURL+"/addlocation";
	private String getHistoryLocationUserList = serviceURL+"/getlocationhistory/%s";
	private String getLocationUserList = serviceURL+"/getuserlocations/%s"; 
	private String getLastLocation = serviceURL+"/getlastlocation/%s";
	
	public String getURLRegister(){
		return register;
	}
	public String getURLLoginByPin(){
		return login;
	}
	public String getURLGetUserList(){
		return  getUserList;
	}
	public String getURLAddLocation(){
		return  addLocation;
	}
	
	public String getURLHistoryLocationUserList(){
		return  getHistoryLocationUserList;
	}
	public String getURLLocationUserList(){
		return  getLocationUserList;
	}
	public String getURLLastLocation(){
		return  getLastLocation;
	}
	public String getURLLogin(){
		return  loginByPassword;
	}
}
